package com.hevs.samplewebapp.server.json;

import org.codehaus.jackson.map.ObjectMapper;

/**
 * ObjectMapper singleton
 * 
 * @author Arnaud Durand
 * @date 29.03.2012
 */
public class ObjectMapperFactory {

    private static final ObjectMapper omInstance = new ObjectMapper();
            
        private ObjectMapperFactory() {}

        /**
         * @return omInstance
         * Unique instance of jackson ObjectMapper
         */
        public static ObjectMapper get() {
            return omInstance;
        }
}
